package com.sunny.inner;

public class Singleton {

    private Singleton(){}

    private static class Inner{
        private static final Singleton singleton = new Singleton();
    }

    public static Singleton getInstance(){
        return Inner.singleton;
    }

}
